package com.emep.emeptime.service;

import com.emep.emeptime.entity.SysAqiInfo;
import com.emep.emeptime.repository.SysAqiInfoRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wangcc
 * @Description: aqi标准业务层
 * @date 2018/3/279:02
 * @version V1.0
 */
@Slf4j
@Service
public class SysAqiInfoService {


    @Resource
    private SysAqiInfoRepository sysAqiInfoRepository;

    /**
     * 查询所有标准值
     * */
    public List<SysAqiInfo> getEquipmentMoniterList() {
        return sysAqiInfoRepository.findAll();
    }
}
